<script setup lang='ts'>
import { useMainStore } from '@/store/index'
const store = useMainStore()

const changeTag = () => {
  store.isOpenTabel=!store.isOpenTabel
  store.graphicOperate='结束修改'
  store.graphicDefectOperate='结束修改'
}
</script>

<template>
<!-- 影像 -->
  <div class="TabbarBtn">
    <div id="third-element-introduction">
      <el-tooltip
        class="box-item"
        effect="dark"
        content="道路缺陷"
        placement="left"
      >
      <div :class="store.isOpenTabel?'iconBox show':'iconBox'" @click="changeTag">
        <img src="@/assets/image/dlqx.png" alt="">
      </div>
      </el-tooltip>
    </div>
  </div>
</template>
